/*
 * Títutlo: Deque.java
 * Autor: Diego Serafín Martínez García
 * Descripción: Estructura de Datos, "Deque".
 * 
 * Universidad Autónoma de Yucatán
 * 
 */

package aerodromo.util.estructurasDatos.deque;

/**
 *
 * @author Diego Martínez García
 */
public interface Deque<T> {

    public int size();
    public boolean isEmpty();
    public void insertFirst(T element);
    public void insertLast(T element);
    public T removeFirst() throws DequeEmptyException;
    public T removeLast() throws DequeEmptyException;
    public T first() throws DequeEmptyException;
    public T last() throws DequeEmptyException;
    public T obtenerIndice(int i);
}
